package com.example.JPetStore.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName("products")
@Data
public class Product {
    @TableField(value = "cate_id")
    String categoryId;
    @TableId(value = "pro_id",type = IdType.INPUT)
    String productId;
    @TableField(value = "pro_name")
    String productName;


}
